﻿using ServiceContrack;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Client
{
    public class CalculatorDuplexCallbackHandler : ICalculatorDuplexCallback
    {

        public void Equals(double result)
        {
            Console.WriteLine("结果：" + result);
        }


        public void Notify(NotifyData data)
        {
            Console.WriteLine("收到消息：" + data.NotifyMsg);
        }
    }
}
